package com.yuxinmuyu.sports_management.bean.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;


/**
 * @author 淮晚
 * @atio 59882896@qq.com
 * @create 2024-01-20-10:01
 */
@ApiModel(value = "分页请求参数")
public class PageRequest {
    @ApiModelProperty(value = "页面大小",required = true)
    @NotNull(message = "分页参数不能为空")
    private Integer pageSize;

    @ApiModelProperty(value = "当前页",required = true)
    @NotNull(message = "分页参数不能为空")
    private Integer currentPage;

    @ApiModelProperty("关键字")
    private String keyword;


    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }


}
